package cn.hn.tx.mail.service;

import java.util.List;

import cn.hn.tx.mail.model.MailCrawlURL;

public interface IMailCrawlService {

	List<String> crawlMail(String url);
	
	boolean hasExistUrl(String url);
	
	void insertMailCrawlURL(MailCrawlURL mailCrawlURL);
	
	void updateMailCrawlURL(MailCrawlURL mailCrawlURL);
	
	MailCrawlURL queryMailCrawlURLById(Integer id);
	
	MailCrawlURL queryMailCrawlURLByURL(String url);
	
	Integer queryMailCrawlURLCountByURL(String url);
}
